package xyz.thoughtset.viewer.apis.client.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import xyz.thoughtset.viewer.common.api.controller.BaseController;
import xyz.thoughtset.viewer.modules.excel.service.ExportDataInfoService;

@RestController
@RequestMapping("/file/")
public class FileApi extends BaseController {
    @Autowired
    private ExportDataInfoService exportDataInfoService;

    @GetMapping("/templates")
    public Object templates(){
        return exportDataInfoService.templateFiles();
    }



}
